# $Id: PKGBUILD 67443 2012-03-11 20:00:53Z lcarlier $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>

pkgname=barrage
pkgver=1.0.4
pkgrel=2
pkgdesc="A violent point-and-click shooting game with nice effects"
arch=('i686' 'x86_64')
url="http://lgames.sourceforge.net/index.php?project=Barrage"
license=('GPL')
depends=('hicolor-icon-theme' 'sdl_mixer')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/lgames/$pkgname-$pkgver.tar.gz)
sha256sums=('ad74e049dfded3bca28b8dc1c5870408cfad9e024b35cc5b501ba90486d9af25')

build() {
  cd ${srcdir}/$pkgname-$pkgver

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}
